package com.nineclock.approve.service;

import com.nineclock.approve.dto.ApproveDefinitionSaveDto;
import com.nineclock.approve.dto.ApproveGroupDefinitionDto;

import java.util.List;

/**
 * @author 黑马程序员
 * @Company http://www.ithiema.com
 * @Version 1.0
 */
public interface ApproveDefinitionService {
    List<ApproveGroupDefinitionDto> queryApproveGroupDefinition();
    /**
     * 保存或修改审批流程定义
     *      如果传递的参数包含ID : 更新
     *      如果传递的参数不包含ID: 保存
     * @param approveDefinitionDto
     */
    public void saveApproveDefinition(ApproveDefinitionSaveDto approveDefinitionSaveDto);
}
